import React from 'react'

class BackgroundSettingTools extends React.Component {
  constructor(props){
    super(props)
  }

  onDataSearch(event) {
    var input = $(event.target);
    var value = $(input).val();
    this.props.onDataSearch(value)
  }

  render(){
    return (
      <div className="background-role-tools row">
        <div className="col-sm-2 col-lg-2 col-sm-offset-10 col-lg-offset-10  create-button">
          <button type="button" className="btn-create"
                  onClick={(event)=>this.props.onCreateClick()}>添加</button>
        </div>


      </div>
    )
  }
}

export default BackgroundSettingTools
